<div class="ptm pbm xs1 applylist">
<!--{if $isactivitymaster}-->
<button value="" class="vmiddle mid_btn right green" onclick="export_apply($tid)">导出报名列表</button>
<!--{/if}-->
<h2>已通过 ( $applynumbers['ALL'] 人<!--{if $applynumbers['GG']>0}-->，男生 $applynumbers['GG'] 人<!--{/if}--><!--{if $applynumbers['MM']>0}-->，女生 $applynumbers['MM'] 人<!--{/if}-->)</h2>

<!--{if $isactivitymaster}-->
<!--  参考 .\template\default\forum\activity_applylist.htm -->
<form id="applylistform" name="applylistform" method="post" autocomplete="off" action="plugin.php?id=donkey_activity:manage">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="operation" value="">
<input type="hidden" name="tid" value="$tid">
<input type="hidden" name="applylistsubmit" value="yes">
<!--{/if}-->

<table class="dt">
	<tr>
		<th width="140">报名会员</th>
		<th width="40">性别</th>
		<th width="60">会员组</th>
		<th>留言</th>
		<!--{if $activity['cost']}-->
		<th width="60">每人花销</th>
		<!--{/if}-->
		<th width="110">申请状态</th>
		<th width="110">申请时间</th>

<!--{if $isactivitymaster}-->
<th width="60">&nbsp;</th>
<!--{/if}-->

	</tr>
	<!--{loop $applylist $apply}-->
	<tr class="datatr">
		<td>

<!--{if $isactivitymaster}-->
<input type="checkbox" name="applyidarray[]" class="pc" value="$apply[applyid]">
<!--{/if}-->

			<a target="_blank" href="home.php?mod=space&uid=$apply[uid]" class="ratl vm abottom">$apply[avatar]</a> 
			<a target="_blank" href="home.php?mod=space&uid=$apply[uid]">$apply[username]</a>

<!--{if $isactivitymaster}-->
<a href="javascript:;" id="actl_$apply[uid]" class="showmenu" onmouseover="showMenu({'ctrlid':this.id, 'pos':'*'});" initialized="true"> &gt;&gt;</a>
<div id="actl_$apply[uid]_menu" class="p_pop p_opt actl_pop" style="display:none;" onmouseout="this.style.display='hidden'"><ul>$apply[ufielddata]</ul></div>
<!--{/if}-->

		</td>
		<td class="gender_$apply[gender]">$apply[sex]</td>
		<td>$all_group[$apply[groupid]]</td>
		<td><!--{if $apply[message]}--><p>$apply[message]</p><!--{/if}--></td>
		<!--{if $activity['cost']}-->
		<td><!--{if $apply[payment] >= 0}-->$apply[payment] {lang payment_unit}<!--{else}-->{lang activity_self}<!--{/if}--></td>
		<!--{/if}-->
		<td>$apply[verified_show]</td>
		<td>$apply[dateline]</td>

<!--{if $isactivitymaster}-->
<td><button class="pn vm right" type="button" onclick="print_apply($tid, $apply[applyid])"><span>打印</span></button></td>
<!--{/if}-->

	</tr>
	<!--{/loop}-->

<!--{if $isactivitymaster}-->                    
<tr><td colspan="7">
<div class="o pns" style="margin-top:10px">
<label><input class="pc" type="checkbox" name="chkall" onclick="checkall(this.form, 'applyid')">全选 </label>
<button class="pn vm" type="button" value="true" onclick="divide(this.form)" ><span>分工</span></button>
<button class="pn vm" type="submit" value="true" name="applylistsubmit" onclick="$('applylistform').operation.value='refuse';"><span>拒绝/删除</span></button>
<button class="pn vm" type="submit" value="true" name="applylistsubmit" onclick="$('applylistform').operation.value='cancel';"><span>放鸽子</span></button>
<input type="number" name="reason" class="px vm wd50" size="4" value="3" /><button class="pn vm" type="submit" value="true" name="applylistsubmit" onclick="$('applylistform').operation.value='coin';"><span>派发金币</span></button>
<button class="pn vm ml80" type="button" onclick="print_apply($tid, 'select', this.form)"><span>打印选中</span></button>
</div>
</td></tr>
<!--{/if}-->

</table>
<!--{if $isactivitymaster}-->
</form>
<select id="all_role" style="display:none">
<!--{loop $all_role $id $role}-->
<option value="$id">$role</option>
<!--{/loop}-->
</select>
<!--{/if}-->
</div>